package com.fallsvc.re.javasesets.jdk17;

public interface HelloService {
    public void sayHello();

    // 默认⽅法
    default void saySomething() {
        syaEngHello();
        sayHello();
    }


    // 私有⽅法
    private void syaEngHello() {
        System.out.println("Hello!");
    }
}